﻿<Window x:Class="WpfWordsLearner.Views.NewDictionaryView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
        xmlns:local="clr-namespace:WpfWordsLearner"
        Title="Create new dictionary"
        Width="300"
        Height="150" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition />
		</Grid.RowDefinitions>
		<TextBox VerticalAlignment="Center" Text="{Binding DictionaryName, Mode=TwoWay}">
			<i:Interaction.Behaviors>
				<local:WatermarkTextBoxBehavior Watermark="Enter new dictionary name here.." />
			</i:Interaction.Behaviors>
		</TextBox>
		<Button Grid.Row="1"
		        Command="{Binding CreateCommand}"
		        Content="Crete" />
	</Grid>
</Window>
